package com.xinghou.platform.server.api.service;

import com.xinghou.platform.model.main.User;

import java.io.IOException;
import java.util.List;

/**
 * 用户信息检索
 * @author xuzhen
 *
 */
public interface UserLuceneApiService {
	
	public List<User> getSearchUserInfos(String key, int fromno, int pagesize, String userType, String provinceCode) throws IOException;
	
	public List<User> getSearchUserInfos(String key, int fromno, int pagesize, String userType, String citycode, Double distance,double lng, double lat) throws IOException;



	public int saveUserInfo(User user);
	
	public int updateUserInfo(User user);
}
